fix: postcss-calc will change the style#125
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
commit: |
|
Could you please send screenshots of the incorrect effect and the expected correct effect? Because I’m not sure what kind of style error this might cause. |
2025-06-30.132217.mp4He will cause the animation of the notification to flip over.I reduced the speed of the animation |
|
@CandyACE is this fix solves this issue #133 (comment) ? |
|
Hi, added some context here for lib author
Also, Nuxt uses We may need to add a document for Nuxt and cssnano configuration like export default defineNuxtConfig({
postcss: {
plugins: {
cssnano: {
preset: ['default', {
// disable calc optimization
calc: false,
}],
},
}
},
}) |
It seems to be the same problem. This fix should have resolved it. |
@CandyACE @xiaoluoboding I just updated to version 2.0.2, and the issue persists. So this change doesn't fix it. |
I will try it again |
I've checked, and the 2.0.2 version doesn't include this fix of mine. |
postcss会导致css中的一段内容发生变化,导致效果出错
之前 --> postcss 之后